package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文件管理对象 sys_file
 * 
 * @author ruoyi
 * @date 2025-01-15
 */
public class SystemFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** fileID */
    private Long id;

    /** 文件记录条数 */
    @Excel(name = "文件记录条数")
    private Integer num;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String filePath;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    /**
     * 任务状态
     */
    @Excel(name = "任务状态")
    private String taskStatus;

    /** 结果路径 */
    @Excel(name = "结果路径")
    private String resultPath;

    /** 删除状态 */
    private Integer delFlag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createName;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deleteName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public void setFilePath(String filePath)
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }

    public String getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(String taskStatus) {
        this.taskStatus = taskStatus;
    }

    public void setResultPath(String resultPath)
    {
        this.resultPath = resultPath;
    }

    public String getResultPath() 
    {
        return resultPath;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setDeleteTime(Date deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime() 
    {
        return deleteTime;
    }
    public void setDeleteName(String deleteName) 
    {
        this.deleteName = deleteName;
    }

    public String getDeleteName() 
    {
        return deleteName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("num", getNum())
            .append("filePath", getFilePath())
            .append("fileName", getFileName())
            .append("resultPath", getResultPath())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("createName", getCreateName())
            .append("deleteTime", getDeleteTime())
            .append("deleteName", getDeleteName())
            .toString();
    }
}
